8153b072c30d9e3279d822cbc395b84ac5f2bd83,src/io/tetrapod/raft/storage/StorageItem.java,StorageItem,StorageItem,#DataInputStream#,32

Before Change


      this.data = new byte[in.readInt()];
      in.readFully(this.data);
      this.version = in.readInt();
      this.lockExpiry = in.readLong();
   }

   public void write(DataOutputStream out) throws IOException {

After Change


      in.readFully(this.data);
      this.version = in.readInt();

      if (fileVersion >= 1) {
         if (in.readBoolean()) {
            this.lock = new LockInfo(in.readLong(), in.readUTF());
         }
      } else {
         this.lock = new LockInfo(in.readLong(), null);